<!DOCTYPE html>
<html lang="zh">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>显示模式-行内</title>
  <style>
    span {
      width: 100px;
      height: 100px;
    }

    .s1 {
      background-color: #00f;
    }

    .s2 {
      background-color: #0f0;
    }

    .s3 {
      background-color: #ff0;
    }
  </style>
</head>

<body>
  <span class="s1">1占位符</span><span class="s2">2</span><span class="s3">3</span>
</body>

</html>